package com.by.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class tb implements Serializable {
    private int id;
    private String user_name;
    private String course;
    private float score;
    private Dept dept;  //单向多对一

    public tb(int id, String user_name, String course) {
        this.id = id;
        this.user_name = user_name;
        this.course = course;
    }
}
